@import '../../static/scss/var.scss';
page {
  background-color: $bg;
}

.index {
  flex-direction: column;
  width: 100%;
}

// 搜索
.index-search {
  position: relative;
  padding: 20px;
  background-color: #fff;

  .search {
    width: 100%;
    height: 80px;
    border-radius: 80px;
    background-color: $bg;
    box-sizing: border-box;
    padding-left: 80px;
  }

  .index-search-icon {
    position: absolute;
    top: 40px;
    left: 50px;
    font-size: 40px;
  }
}

// 帖子列表
.tiezi-list {
  margin-top: 20px;
}
.tiezi-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 5px;
  margin: 0 20px 20px;
}

.tiezi-user {
  display: flex;
  align-items: center;

  .tiezi-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
  }

  .tiezi-username {
    padding-left: 20px;
    font-size: 36px;
    font-weight: 700;
  }
}

.tiezi-body {
  margin-top: 20px;
}

.tiezi-footer {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;

  .tiezi-share,
  .tiezi-comment,
  .tiezi-star,
  .icon-fenxiang,
  .icon-pinglun,
  .icon-31dianzan {
    font-size: 40px;
  }
  .tiezi-footer-num {
    padding-left: 20px;
  }
}

// 添加帖子按钮
.add-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;

  .icon-tianjia1 {
    font-size: 80px;
    color: $theme;
  }
}
